package com.wh.consumer8282.api;

import com.wh.consumer8282.bean.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @Auther: HuiEr
 * @Date: 2020/3/24 23:00
 * @Description
 */
@FeignClient(value = "producer-8181",fallbackFactory = FeignFallbackFactory.class)
public interface ProducerFeign {
    @RequestMapping("/list")
     List<User> user_list();
}
